$(function() {
	$("#add_credit_form").validate({
		errorPlacement:function(error, element) {
		element.parent().find(".verror").html(error);
		},
		rules: {
			"credit.creditNo": {
				required: true
			},
		},
		messages: {
			"credit.creditNo": {
				required: "不能为空,且只能为数字！"
			}
		}
	});
});
